<table class="table table-striped table-bordered table-hover dataTables-example" >
    <thead>
        <tr>
            <th <if condition='$sort_field eq "tag_name"'>class="sorting_{$sort_type}" data-current="true"<else/>class="sorting"</if> data-sort-field="tag_name">名称</th>
            <th>图像描述</th>
            <th <if condition='$sort_field eq "alias"'>class="sorting_{$sort_type}" data-current="true"<else/>class="sorting"</if> data-sort-field="alias">别名</th>
            <th <if condition='$sort_field eq "frequency"'>class="sorting_{$sort_type}" data-current="true"<else/>class="sorting"</if> data-sort-field="frequency">总数</th>
            <th>操作</th>
</tr>
</thead>
<tbody>
<empty name="list.list">
    <tr><td colspan="9">检索不到相关标签</td></tr>
    <else/>
    <volist name="list.list" id="vo">
        <tr class="gradeX">
            <td>{$vo.tag_name}</td>
            <td class="center"></td>
            <td>{$vo.alias}</td>
            <td class="center">{$vo.frequency}</td>
            <td><a href="{:U('Tag/edit',array('tag_id'=>$vo['tag_id']))}" class="m-r">编辑</a><a href="javascript:;" data-id="{$vo.tag_id}">删除</a></td>
        </tr>
    </volist>
</empty>
</tbody>
</table>
<notempty name="list.list">
    <div class="pull-left">
        共<strong>{$list.count}</strong>个标签
    </div>
    {$list.page}
</notempty>
